<script setup>
import {ref} from "vue"
import { Add,Star } from '@nutui/icons-vue';
const value=ref("1")
</script>

<template>
  <view>
    <Add color="red" />;
    <nut-button type="primary">
      <template #icon>
        <Star />
      </template>
      主要按钮
    </nut-button>
    <nut-button type="info">信息按钮</nut-button>
    <nut-button type="default">默认按钮</nut-button>
    <nut-button type="danger">危险按钮</nut-button>
    <nut-button type="warning">警告按钮</nut-button>
    <nut-button type="success">成功按钮</nut-button>
    <nut-tabs v-model="value">
      <nut-tab-pane title="Tab 1" pane-key="0"> Tab 1 </nut-tab-pane>
      <nut-tab-pane title="Tab 2" pane-key="1"> Tab 2 </nut-tab-pane>
      <nut-tab-pane title="Tab 3" pane-key="2"> Tab 3 </nut-tab-pane>
    </nut-tabs>
  </view>
</template>

<style scoped>

</style>
